* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
input[type="text"] {
    width: 100%;
    flex: 1;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #797979;
    border-radius: 5px;

    &:focus {
        outline: none;
        border-color: #169BD5;
    }

    &::placeholder {
        color: #B7A9A9;
    }
}

button {
    padding: 5px 10px;
    background-color: #169BD5;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    outline:none;
}

.line{
    text-decoration: line-through;
}

.container {
    width: 462px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #797979;
    border-radius: 15px;
    background-color: #D77070;
}

h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.addtask {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.search {
    margin-top: 10px;
    margin-bottom: 10px;
}
.tasklist li{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    margin-bottom:10px;
    border:1px solid #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .footer{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:#ccc;
    font-size: 14px;
}

/* 弹框的基础样式 */
#editAlertBox{
    display:none;
    position: fixed;
    left: 50%;top: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    padding:20px;
    box-shadow: 0 0 10px rgb(0,0,0.5);
    z-index: 1000;
    text-align:center;
}
#editAlertBox button{
    margin-top:10px;
}
